import { createStore } from 'vuex'
import createPersistedState   from "vuex-persistedstate";
import configuration from './configuration'
import user from './user'

export default createStore({
    state: {},
    mutations: {},
    //执行动作，数据请求
    actions: {},
    // 获取到最终的数据结果
    getters: {},
    modules: {
        configuration,
        user,
    },
    plugins: [
        createPersistedState()
    ]
})